package vcp.client.forms;

import org.joda.time.DateTime;

import vcp.enums.FormType;
import vcp.enums.ReportType;
import vcp.enums.SiteEnum;

/**
 * 
 * @author VCP team
 *         <p>
 *         Periodic form of data
 *         </p>
 * @see DateTime
 * @see SiteEnum
 * @see ReportType
 */
public class PeriodicForm extends FormAbstract
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7629462868931666413L;

	/** instance of date **/
	private final DateTime startDate;

	public DateTime getStartDate ()
	{
		return this.startDate;
	}

	private final DateTime endDate;

	public DateTime getEndDate ()
	{
		return this.endDate;
	}

	private final ReportType reportType;

	public ReportType getReportType ()
	{
		return this.reportType;
	}

	/** site number **/
	private SiteEnum siteEnum;

	public SiteEnum getSiteEnum ()
	{
		return this.siteEnum;
	}

	public void setSiteEnum ( SiteEnum siteEnum )
	{
		this.siteEnum = siteEnum;
	}

	/**
	 * <p>
	 * Form fill with data according to report type
	 * </p>
	 * 
	 * @param startDate
	 * @param endDate
	 * @param reportType
	 */
	public PeriodicForm ( DateTime startDate, DateTime endDate, ReportType reportType )
	{
		super(FormType.PERIODIC_FORM);
		this.startDate = startDate;
		this.endDate = endDate;
		this.reportType = reportType;
	}
}
